.CategorySub {
    background-color: #f5f5f5;
    padding-bottom: 20px;

    .bread {
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
        padding-left: 160px;
    }

    .select {
        width: 1200px;
        padding: 30px;
        background-color: white;
        margin: 0 auto;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;

        >div {
            width: 100%;
            margin-bottom: 20px;
            display: flex;

            .head {
                width: 80px;
                height: 100%;
                line-height: 40px;
                color: #666;
                font-size: 15px;
            }

            .body {
                width: 90%;
                height: 100%;



                >span {
                    :first-child {
                        color: #27ba9b;
                    }

                    display: inline-block;
                    margin-right: 50px;
                    max-width: 112px;
                    line-height: 40px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    font-size: 15px;
                    color: #333;
                    cursor: pointer;

                    &.active {
                        color: #27ba9b;
                    }

                    &:hover {
                        color: #27ba9b;

                    }

                    transition: all linear 0.1s;
                    -webkit-transition: all linear 0.1s;
                    -moz-transition: all linear 0.1s;
                    -ms-transition: all linear 0.1s;
                    -o-transition: all linear 0.1s;
                }
            }



        }


    }

    .showGoods {
        width: 1200px;
        padding: 30px;
        background-color: white;
        margin: 20px auto;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;

        .sort {
            width: 100%;
            height: 50px;
            display: flex;
            position: relative;

            >span {
                width: 100px;
                height: 30px;
                border: 1px solid #e4e4e4;
                border-radius: 3px;
                text-align: center;
                line-height: 30px;
                color: #999;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                -ms-border-radius: 3px;
                -o-border-radius: 3px;
                margin-right: 20px;
                cursor: pointer;
                font-size: 15px;

                &.active {
                    background-color: #27ba9b;
                    border-color: #27ba9b;
                    color: #fff;
                }
            }

            >div {
                position: absolute;
                right: 0;
                line-height: 50px;

                span {
                    color: #999;
                }

            }
        }

        .content {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            width: 100%;
            padding: 20px;

            .goods {
                width: 240px;
                height: 280px;
                cursor: pointer;
                padding: 10px;
                margin-bottom: 20px;


                &:hover {
                    transform: translateY(-5px) scale(1.02);
                    -webkit-transform: translateY(-5px) scale(1.02);
                    -moz-transform: translateY(-5px) scale(1.02);
                    -ms-transform: translateY(-5px) scale(1.02);
                    -o-transform: translateY(-5px) scale(1.02);
                }

                transition: all linear 0.2s;

                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                border-radius: 5px;
                list-style: none;

                img {
                    width: 160px;
                    height: 160px;

                }

                div {
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    padding: 0px 10px;

                    span {
                        display: block;
                        font-size: 18px;
                        line-height: 40px;
                        width: 100%;
                        height: 35px;
                        text-align: center;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }

                    span:nth-child(2) {
                        color: gray;
                        font-size: 15px;
                    }

                    span:last-child {
                        width: 100%;
                        height: 45px;

                        color: #cf4746;
                    }
                }

            }



        }
    }
}